$(document).ready(jQueryReady);

function jQueryReady() {
	$("#g_button_compile").click(onCompileClic);
}

function onCompileClic() {
	var processingCode = $("#g_input_processing_code").val();
	var processingJsCode = Processing.compile(processingCode).sourceCode;
	$("#g_output_processing_js_code").val(processingJsCode);
}


